package cian.service;

import cian.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Cian on 2017/4/26.
 */

public interface UserService {
    User findUserByUserName(String username);

    List<User> findAll();

    int deleteByName(String username);

    int add(User user);

    PageInfo<User> pageHelper(String username, Integer pageNo, Integer pageSize);

    List<User> test();

    int deleteByUserName(String username);

    int modifyByUserName(User user);
}
